From: Matthias Clasen Date: Fri, 1 Jul 2022 01:11:49 +0000 (-0400) Subject: gtk4-demo: Fix font features animation X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~92^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4070e794d26dd63336d544bdbfbe020e87296c6b;p=gtk4.git gtk4-demo: Fix font features animation --- diff --git a/demos/gtk-demo/font_features.c b/demos/gtk-demo/font_features.c index 035039a724..a4267ecdce 100644 --- a/demos/gtk-demo/font_features.c +++ b/demos/gtk-demo/font_features.c @@ -1067,7 +1067,7 @@ add_axis (hb_face_t *hb_face, gtk_widget_set_hexpand (axis_entry, FALSE); gtk_grid_attach (GTK_GRID (demo->variations_grid), axis_entry, 2, i, 1, 1); - axis = g_new (Axis, 1); + axis = g_new0 (Axis, 1); axis->tag = ax->tag; axis->adjustment = adjustment; axis->default_value = ax->default_value;